package one.stand.fallback;

import one.stand.feign.WechatFegin;
import one.stand.model.ResultModel;
import one.stand.request.CompanyAccountRequest;
import org.springframework.stereotype.Component;

/**
 * @author: QIK
 * @CreateDate: 2019/5/13 16:17
 */
@Component
public class WechatFallBack implements WechatFegin {
    @Override
    public ResultModel<String> componentloginpage(CompanyAccountRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel componentCallBack(CompanyAccountRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getAuthorizerInfo(CompanyAccountRequest request) {
        return ResultModel.faultTolerant();
    }
}
